package com.imageflowpro.image_flow_pro.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 订单状态变更历史
 * </p>
 *
 * @author 张家浩
 * @since 2025-05-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("order_status_history")
public class OrderStatusHistory implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long orderId;

    private Integer oldStatus;

    private Integer newStatus;

    /**
     * 操作人ID
     */
    private Long modifiedBy;

    /**
     * 状态变更备注
     */
    private String remark;

    private LocalDateTime createdAt;


}
